package com.gzwh.v1.sysapi.dao;

import com.gzwh.v1.sysapi.entity.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select count(*) from sf_menu ")
    String getUserAll();

    @Select("select username,password,role,permission from user where username=#{user}")
    UserBean getUserBeanByName(String user);

}
